<?php


namespace app\Enums;


class CardStatus
{
    const BIND = 1;
    const NOT_BIND = 2;
    const FORBIDDEN = 3;


    const description = [
        self::BIND => "绑定",
        self::NOT_BIND => "待绑定",
        self::FORBIDDEN => "禁用",
    ];

    public static function getDescription($value): string
    {
        return self::description[$value] ?? "";
    }

}
